package model.interfaces;
import java.awt.Graphics;
import java.awt.Rectangle;

/**
 * Interface for all drawable components
 * 
 * @author alexandre.altun
 */
public interface IDrawable {
	
	/**
	 * Draw the component of the buffer g.
	 * 
	 * @param g
	 */
	public void draw(Graphics g);
	
	
	/**
	 * Returns the rectangle which contains the component
	 * 
	 * @return Rectangle
	 */
	public Rectangle getRectangle();
}
